package cn.buk.tms.entity.base;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;

@Entity
public class Nationality {
	
	private String isoCode;
	private String nameEN;
	private String nameCN;
	
	@Id
	@Column(length=2)
	public String getIsoCode() {
		return isoCode;
	}
	public void setIsoCode(String isoCode) {
		this.isoCode = isoCode;
	}
	
	@Column(length=60)
	public String getNameEN() {
		return nameEN;
	}
	public void setNameEN(String nameEN) {
		this.nameEN = nameEN;
	}
	/**
	 * @return the nameCN
	 */
	@Column(length=30)
	public String getNameCN() {
		return nameCN;
	}
	/**
	 * @param nameCN the nameCN to set
	 */
	public void setNameCN(String nameCN) {
		this.nameCN = nameCN;
	}

}
